#pragma once
#include<opencv2\opencv.hpp>
class CAnimal
{
protected:
	char m_gender;
	int m_age;
	int m_blood;
	double m_distance;
public:
	CAnimal();
	~CAnimal();
	CAnimal(int pg, int pa, int pb);
	IplImage *m_animalimg;
	CvPoint m_pos;
	void SetAnimal(int pg, int pa, int pb,int x,int y);
	virtual void LoadImag();
	virtual void ShowAnimal();
	virtual int BloodReduce();
	//	virtual int Scope();
	virtual void Eat(CAnimal *anim);//?
	virtual void Print(int flag, int i);
	virtual void DrawtoBk(IplImage *pbk);
	virtual void ReleaseImg();
};

